<?php
require("phpqrcode.php");//放置在本文件旁边
//QRcode::png("Hello World!");
QRcode::png("http://www.baidu.com","./Public/baidu.jpg",'L',5,1,true);